package org.example.entity;

public class Car {
    private Integer id;
    private String carName;
    private String brand;
    private Double oilWear;
    private Integer state;

    public Car() {
    }

    public Car(Integer id, String carName, String brand, Double oilWear, Integer state) {
        this.id = id;
        this.carName = carName;
        this.brand = brand;
        this.oilWear = oilWear;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Double getOilWear() {
        return oilWear;
    }

    public void setOilWear(Double oilWear) {
        this.oilWear = oilWear;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
